/*
 * GUISobre.java
 *
 * Created on 25/05/2011, 00:15:33
 */

package gui;

import model.Utils;

/**
 * Interface que mostra as informações do programa
 * @author Janio Luiz Antunes
 * @author Marcel Vinicius Kohls
 * @see http://code.google.com/p/sysdesk-java/
 *
 */
public class GUISobre extends javax.swing.JFrame {

    Utils util = new Utils();

    /** Creates new form GUISobre */
    public GUISobre() {
        initComponents();
    }

    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        jlbSobre = new javax.swing.JLabel();

        setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);
        setTitle("SysDesk - Sobre o programa");
        setResizable(false);

        jlbSobre.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/splash.png"))); // NOI18N
        jlbSobre.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                jlbSobreMouseClicked(evt);
            }
        });

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jlbSobre)
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jlbSobre)
        );

        pack();
    }// </editor-fold>//GEN-END:initComponents

    /**
     *
     * Fecha esta janela
     */
    private void jlbSobreMouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jlbSobreMouseClicked
        this.dispose();
    }//GEN-LAST:event_jlbSobreMouseClicked

    /**
    * @param args the command line arguments
    */
    public static void main(String args[]) {
        java.awt.EventQueue.invokeLater(new Runnable() {
            public void run() {
                new GUISobre().setVisible(true);
            }
        });
    }

    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JLabel jlbSobre;
    // End of variables declaration//GEN-END:variables

}
